#ifndef INVENTORAPP_H
#define INVENTORAPP_H

#include <QtGui/QMainWindow>
#include "ui_inventorapp.h"

class COatFractureSceneLabel;
class COatFractureCircle;
class SoSeparator;

class inventorApp : public QMainWindow
{
	Q_OBJECT

public:
	inventorApp(QWidget *parent = 0, Qt::WFlags flags = 0);
	~inventorApp();

	void InitFrame(SoSeparator* pRoot);
	void InitViewer(SoSeparator* pRoot);
	static SbBool AppEventHandler(void *userData, QEvent *anyevent);
	SbBool AppEventHandler(QEvent *anyevent);
private:
	Ui::inventorAppClass		ui;
	SoSeparator*				m_pRoot;
	COatFractureSceneLabel*		m_pLabel;
	COatFractureCircle*			m_pViewSmite;
	COatFractureCircle*			m_pViewDensityWith;
	COatFractureCircle*			m_pViewDensityWithout;
};

#endif // INVENTORAPP_H
